#pragma once
//#include <QtCore/qobject.h>
#include "StrategyInterFace.h"
#include <qscopedpointer.h>
#include <memory>

class Context
{
private:
    std::shared_ptr<IStrategy> m_pStrategy;

public:

    Context();
    ~Context();

    void SetStrategy(std::shared_ptr<IStrategy> pStrategyIn);

    //打印报价;
    void printPrice(double s);
};

